Resolve Method (Recipient Object) 

The Resolve method resolves address information. When the Recipient object s Name property is supplied, looks up the corresponding address from the address book. When the Recipient object s Address property is supplied, resolves as a custom address.

Syntax

objRecipient.Resolve( [ showDialog ] )

Parameters

objRecipient

Required. The Recipient object.

showDialog

Optional. Boolean. If TRUE (the default value), displays a dialog box to prompt the user to resolve ambiguous names.

 

Remarks

The Resolve method operates when the AddressEntry property is set to Nothing. Its operation depends on whether you supply the Recipient Name or Address property.

When you supply the Name property, Resolve looks up the Recipient object s Name property in the address book. When a recipient is resolved, the recipient object s Address property contains the full address and its AddressEntry property contains a reference to an AddressEntry object that represents a copy of information in the address book.

Note that the Resolve method does not validate the Recipient object s Type property.

When you specify a custom address by supplying the Recipient object s Address property, the Resolve method does not attempt to compare the address against the address book.

To avoid delivery errors, clients should always resolve recipients before submitting a message to the MAPI system. Resolving the recipient name means either finding a matching address in an address list or having the user select an address from a dialog box.

The Resolve method uses the address list specified in the profile, such as the global address book or the personal address book.

The following methods can also invoke MAPI dialog boxes: Delete and Details methods (AddressEntry object), Options and Send methods (Message object), Resolve method (Recipient object and Recipients collection), AddressBook and Logon methods (Session object).

See Also

Resolve, Method (Recipients Collection)

Resolved Property (Recipients Collection)AJHMDI